#!/bin/sh

prompt ()
{
    null "$1" || log "$1"

    log "Continue?: Press Enter to continue or Ctrl+C to abort"

    # korn-shell does not exit on interrupt of read.
    equ "$SHELL_PROMPT" 0 || read -r _ || exit 1
}
